.class public Lcom/waiqin365/lightapp/im/activity/ChatHistorySearchActicity;
.super Lcom/waiqin365/lightapp/base/WqBaseActivity;


# instance fields
.field private a:Lcom/waiqin365/lightapp/view/SearchView;

.field private b:Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

.field private c:Lcom/waiqin365/lightapp/view/NoNetView;

.field private d:Ljava/util/List;

.field private e:Lcom/waiqin365/lightapp/im/adapter/c;


# direct methods
.method public constructor <init>()V
    .locals 0

    invoke-direct {p0}, Lcom/waiqin365/lightapp/base/WqBaseActivity;-><init>()V

    return-void
.end method

.method static synthetic a(Lcom/waiqin365/lightapp/im/activity/ChatHistorySearchActicity;)Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/im/activity/ChatHistorySearchActicity;->b:Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    return-object v0
.end method

.method private a(Ljava/util/List;Z)Ljava/util/List;
    .locals 4

    invoke-static {}, Lcom/hyphenate/chat/EMClient;->getInstance()Lcom/hyphenate/chat/EMClient;

    move-result-object v0

    invoke-virtual {v0}, Lcom/hyphenate/chat/EMClient;->chatManager()Lcom/hyphenate/chat/EMChatManager;

    move-result-object v0

    invoke-virtual {v0}, Lcom/hyphenate/chat/EMChatManager;->getAllConversations()Ljava/util/Map;

    move-result-object v0

    invoke-interface {p1}, Ljava/util/List;->clear()V

    const-string/jumbo v1, ""

    invoke-interface {v0}, Ljava/util/Map;->values()Ljava/util/Collection;

    move-result-object v0

    invoke-interface {v0}, Ljava/util/Collection;->iterator()Ljava/util/Iterator;

    move-result-object v2

    :goto_0
    invoke-interface {v2}, Ljava/util/Iterator;->hasNext()Z

    move-result v0

    if-eqz v0, :cond_0

    invoke-interface {v2}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/hyphenate/chat/EMConversation;

    invoke-virtual {v0}, Lcom/hyphenate/chat/EMConversation;->getAllMessages()Ljava/util/List;

    move-result-object v3

    invoke-interface {v3}, Ljava/util/List;->size()I

    move-result v3

    if-eqz v3, :cond_2

    invoke-interface {p1, v0}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    new-instance v3, Ljava/lang/StringBuilder;

    invoke-direct {v3}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {v3, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v0}, Lcom/hyphenate/chat/EMConversation;->getUserName()Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v1, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0}, Lcom/hyphenate/chat/EMConversation;->getUserName()Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v3

    if-nez v3, :cond_2

    const-string/jumbo v3, "waiqin365kefu"

    invoke-virtual {v0, v3}, Ljava/lang/String;->startsWith(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_2

    move-object v0, v1

    :goto_1
    move-object v1, v0

    goto :goto_0

    :cond_0
    if-eqz p2, :cond_1

    iget-object v0, p0, Lcom/waiqin365/lightapp/im/activity/ChatHistorySearchActicity;->mContext:Landroid/content/Context;

    invoke-static {p1, v0}, Lcom/waiqin365/lightapp/im/utils/b;->a(Ljava/util/List;Landroid/content/Context;)V

    :cond_1
    return-object p1

    :cond_2
    move-object v0, v1

    goto :goto_1
.end method

.method private a(Lcom/hyphenate/chat/EMConversation;)V
    .locals 8

    const/4 v7, 0x1

    invoke-virtual {p1}, Lcom/hyphenate/chat/EMConversation;->getUserName()Ljava/lang/String;

    move-result-object v3

    invoke-static {}, Lcom/fiberhome/gaea/client/base/ExmobiApp;->b()Lcom/fiberhome/gaea/client/base/ExmobiApp;

    move-result-object v0

    invoke-virtual {v0}, Lcom/fiberhome/gaea/client/base/ExmobiApp;->c()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v3, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_0

    const v0, 0x7f080073

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/im/activity/ChatHistorySearchActicity;->getString(I)Ljava/lang/String;

    move-result-object v0

    invoke-static {p0, v0}, Lcom/waiqin365/lightapp/view/dk;->a(Landroid/content/Context;Ljava/lang/CharSequence;)V

    :goto_0
    return-void

    :cond_0
    new-instance v4, Landroid/content/Intent;

    const-class v0, Lcom/waiqin365/lightapp/im/activity/ChatActivity;

    invoke-direct {v4, p0, v0}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    invoke-virtual {p1}, Lcom/hyphenate/chat/EMConversation;->isGroup()Z

    move-result v0

    if-eqz v0, :cond_1

    const-string/jumbo v0, "chatType"

    const/4 v1, 0x2

    invoke-virtual {v4, v0, v1}, Landroid/content/Intent;->putExtra(Ljava/lang/String;I)Landroid/content/Intent;

    const-string/jumbo v0, "groupId"

    invoke-virtual {v4, v0, v3}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    :goto_1
    invoke-virtual {p0, v4}, Lcom/waiqin365/lightapp/im/activity/ChatHistorySearchActicity;->startActivity(Landroid/content/Intent;)V

    const v0, 0x7f040022

    const v1, 0x7f040021

    invoke-virtual {p0, v0, v1}, Lcom/waiqin365/lightapp/im/activity/ChatHistorySearchActicity;->overridePendingTransition(II)V

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/im/activity/ChatHistorySearchActicity;->finish()V

    goto :goto_0

    :cond_1
    const-string/jumbo v0, "toChatUsername"

    invoke-virtual {v4, v0, v3}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    const-string/jumbo v0, "_"

    invoke-virtual {v3, v0}, Ljava/lang/String;->split(Ljava/lang/String;)[Ljava/lang/String;

    move-result-object v5

    const-string/jumbo v0, ""

    const-string/jumbo v2, ""

    const-string/jumbo v1, ""

    const-string/jumbo v0, ""

    array-length v6, v5

    if-le v6, v7, :cond_2

    aget-object v2, v5, v7

    invoke-static {p0}, Lcom/waiqin365/base/db/offlinedata/m;->a(Landroid/content/Context;)Lcom/waiqin365/base/db/offlinedata/m;

    move-result-object v0

    invoke-virtual {v0, v2}, Lcom/waiqin365/base/db/offlinedata/m;->e(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    invoke-static {p0}, Lcom/waiqin365/base/db/offlinedata/m;->a(Landroid/content/Context;)Lcom/waiqin365/base/db/offlinedata/m;

    move-result-object v0

    invoke-virtual {v0, v2}, Lcom/waiqin365/base/db/offlinedata/m;->f(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v3

    invoke-static {p0}, Lcom/waiqin365/base/db/offlinedata/m;->a(Landroid/content/Context;)Lcom/waiqin365/base/db/offlinedata/m;

    move-result-object v0

    invoke-virtual {v0, v2}, Lcom/waiqin365/base/db/offlinedata/m;->h(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    :cond_2
    const-string/jumbo v5, "userName"

    invoke-virtual {v4, v5, v3}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    const-string/jumbo v3, "pic_url"

    invoke-virtual {v4, v3, v1}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    const-string/jumbo v1, "userId"

    invoke-virtual {v4, v1, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    const-string/jumbo v1, "imflag"

    invoke-virtual {v4, v1, v0}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    goto :goto_1
.end method

.method static synthetic a(Lcom/waiqin365/lightapp/im/activity/ChatHistorySearchActicity;Lcom/hyphenate/chat/EMConversation;)V
    .locals 0

    invoke-direct {p0, p1}, Lcom/waiqin365/lightapp/im/activity/ChatHistorySearchActicity;->a(Lcom/hyphenate/chat/EMConversation;)V

    return-void
.end method

.method static synthetic a(Lcom/waiqin365/lightapp/im/activity/ChatHistorySearchActicity;Ljava/lang/String;)V
    .locals 0

    invoke-direct {p0, p1}, Lcom/waiqin365/lightapp/im/activity/ChatHistorySearchActicity;->a(Ljava/lang/String;)V

    return-void
.end method

.method private a(Ljava/lang/String;)V
    .locals 10

    const/16 v9, 0x8

    const/4 v8, 0x1

    const/4 v7, 0x0

    const/4 v6, -0x1

    invoke-static {p1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/im/activity/ChatHistorySearchActicity;->d:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->clear()V

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/im/activity/ChatHistorySearchActicity;->b()V

    iget-object v0, p0, Lcom/waiqin365/lightapp/im/activity/ChatHistorySearchActicity;->c:Lcom/waiqin365/lightapp/view/NoNetView;

    invoke-virtual {v0, v9}, Lcom/waiqin365/lightapp/view/NoNetView;->setVisibility(I)V

    :goto_0
    return-void

    :cond_0
    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    invoke-direct {p0, v0, v7}, Lcom/waiqin365/lightapp/im/activity/ChatHistorySearchActicity;->a(Ljava/util/List;Z)Ljava/util/List;

    iget-object v1, p0, Lcom/waiqin365/lightapp/im/activity/ChatHistorySearchActicity;->d:Ljava/util/List;

    invoke-interface {v1}, Ljava/util/List;->clear()V

    invoke-interface {v0}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object v2

    :cond_1
    :goto_1
    invoke-interface {v2}, Ljava/util/Iterator;->hasNext()Z

    move-result v0

    if-eqz v0, :cond_5

    invoke-interface {v2}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/hyphenate/chat/EMConversation;

    invoke-virtual {v0}, Lcom/hyphenate/chat/EMConversation;->isGroup()Z

    move-result v1

    if-eqz v1, :cond_2

    invoke-static {}, Lcom/hyphenate/chat/EMClient;->getInstance()Lcom/hyphenate/chat/EMClient;

    move-result-object v1

    invoke-virtual {v1}, Lcom/hyphenate/chat/EMClient;->groupManager()Lcom/hyphenate/chat/EMGroupManager;

    move-result-object v1

    invoke-virtual {v0}, Lcom/hyphenate/chat/EMConversation;->getUserName()Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v1, v3}, Lcom/hyphenate/chat/EMGroupManager;->getGroup(Ljava/lang/String;)Lcom/hyphenate/chat/EMGroup;

    move-result-object v1

    invoke-virtual {v1}, Lcom/hyphenate/chat/EMGroup;->getGroupName()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/String;->toLowerCase()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {p1}, Ljava/lang/String;->toString()Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v1, v3}, Ljava/lang/String;->indexOf(Ljava/lang/String;)I

    move-result v1

    if-eq v1, v6, :cond_1

    iget-object v1, p0, Lcom/waiqin365/lightapp/im/activity/ChatHistorySearchActicity;->d:Ljava/util/List;

    invoke-interface {v1, v0}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    goto :goto_1

    :cond_2
    invoke-virtual {v0}, Lcom/hyphenate/chat/EMConversation;->getUserName()Ljava/lang/String;

    move-result-object v1

    iget-object v3, p0, Lcom/waiqin365/lightapp/im/activity/ChatHistorySearchActicity;->mContext:Landroid/content/Context;

    invoke-static {v1, v3}, Lcom/waiqin365/lightapp/im/utils/e;->a(Ljava/lang/String;Landroid/content/Context;)Ljava/lang/String;

    move-result-object v3

    iget-object v4, p0, Lcom/waiqin365/lightapp/im/activity/ChatHistorySearchActicity;->mContext:Landroid/content/Context;

    invoke-static {v1, v4}, Lcom/waiqin365/lightapp/im/utils/e;->c(Ljava/lang/String;Landroid/content/Context;)Ljava/lang/String;

    move-result-object v4

    const-string/jumbo v1, ""

    const-string/jumbo v5, " "

    invoke-virtual {v4, v5}, Ljava/lang/String;->split(Ljava/lang/String;)[Ljava/lang/String;

    move-result-object v5

    array-length v5, v5

    if-le v5, v8, :cond_3

    const-string/jumbo v1, " "

    invoke-virtual {v4, v1}, Ljava/lang/String;->split(Ljava/lang/String;)[Ljava/lang/String;

    move-result-object v1

    aget-object v1, v1, v8

    :cond_3
    invoke-virtual {p1}, Ljava/lang/String;->toString()Ljava/lang/String;

    move-result-object v5

    invoke-virtual {v3, v5}, Ljava/lang/String;->indexOf(Ljava/lang/String;)I

    move-result v3

    if-ne v3, v6, :cond_4

    invoke-virtual {p1}, Ljava/lang/String;->toString()Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v4, v3}, Ljava/lang/String;->startsWith(Ljava/lang/String;)Z

    move-result v3

    if-nez v3, :cond_4

    invoke-virtual {p1}, Ljava/lang/String;->toString()Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v1, v3}, Ljava/lang/String;->startsWith(Ljava/lang/String;)Z

    move-result v1

    if-eqz v1, :cond_1

    :cond_4
    iget-object v1, p0, Lcom/waiqin365/lightapp/im/activity/ChatHistorySearchActicity;->d:Ljava/util/List;

    invoke-interface {v1, v0}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    goto/16 :goto_1

    :cond_5
    invoke-virtual {p0}, Lcom/waiqin365/lightapp/im/activity/ChatHistorySearchActicity;->b()V

    iget-object v0, p0, Lcom/waiqin365/lightapp/im/activity/ChatHistorySearchActicity;->d:Ljava/util/List;

    if-eqz v0, :cond_6

    iget-object v0, p0, Lcom/waiqin365/lightapp/im/activity/ChatHistorySearchActicity;->d:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v0

    if-gtz v0, :cond_7

    :cond_6
    iget-object v0, p0, Lcom/waiqin365/lightapp/im/activity/ChatHistorySearchActicity;->c:Lcom/waiqin365/lightapp/view/NoNetView;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/view/NoNetView;->a()V

    iget-object v0, p0, Lcom/waiqin365/lightapp/im/activity/ChatHistorySearchActicity;->c:Lcom/waiqin365/lightapp/view/NoNetView;

    invoke-virtual {v0, v7}, Lcom/waiqin365/lightapp/view/NoNetView;->setVisibility(I)V

    goto/16 :goto_0

    :cond_7
    iget-object v0, p0, Lcom/waiqin365/lightapp/im/activity/ChatHistorySearchActicity;->c:Lcom/waiqin365/lightapp/view/NoNetView;

    invoke-virtual {v0, v9}, Lcom/waiqin365/lightapp/view/NoNetView;->setVisibility(I)V

    goto/16 :goto_0
.end method

.method static synthetic b(Lcom/waiqin365/lightapp/im/activity/ChatHistorySearchActicity;)Lcom/waiqin365/lightapp/im/adapter/c;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/im/activity/ChatHistorySearchActicity;->e:Lcom/waiqin365/lightapp/im/adapter/c;

    return-object v0
.end method

.method static synthetic c(Lcom/waiqin365/lightapp/im/activity/ChatHistorySearchActicity;)Landroid/content/Context;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/im/activity/ChatHistorySearchActicity;->mContext:Landroid/content/Context;

    return-object v0
.end method

.method static synthetic d(Lcom/waiqin365/lightapp/im/activity/ChatHistorySearchActicity;)Landroid/content/Context;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/im/activity/ChatHistorySearchActicity;->mContext:Landroid/content/Context;

    return-object v0
.end method

.method static synthetic e(Lcom/waiqin365/lightapp/im/activity/ChatHistorySearchActicity;)Landroid/content/Context;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/im/activity/ChatHistorySearchActicity;->mContext:Landroid/content/Context;

    return-object v0
.end method

.method static synthetic f(Lcom/waiqin365/lightapp/im/activity/ChatHistorySearchActicity;)Landroid/content/Context;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/im/activity/ChatHistorySearchActicity;->mContext:Landroid/content/Context;

    return-object v0
.end method

.method static synthetic g(Lcom/waiqin365/lightapp/im/activity/ChatHistorySearchActicity;)Landroid/content/Context;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/im/activity/ChatHistorySearchActicity;->mContext:Landroid/content/Context;

    return-object v0
.end method

.method static synthetic h(Lcom/waiqin365/lightapp/im/activity/ChatHistorySearchActicity;)Landroid/content/Context;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/im/activity/ChatHistorySearchActicity;->mContext:Landroid/content/Context;

    return-object v0
.end method


# virtual methods
.method public a()V
    .locals 4

    const v0, 0x7f0c0131

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/im/activity/ChatHistorySearchActicity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/view/SearchView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/im/activity/ChatHistorySearchActicity;->a:Lcom/waiqin365/lightapp/view/SearchView;

    iget-object v0, p0, Lcom/waiqin365/lightapp/im/activity/ChatHistorySearchActicity;->a:Lcom/waiqin365/lightapp/view/SearchView;

    const v1, 0x7f08071d

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/im/activity/ChatHistorySearchActicity;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/view/SearchView;->setHint(Ljava/lang/CharSequence;)V

    const v0, 0x7f0c0790

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/im/activity/ChatHistorySearchActicity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    iput-object v0, p0, Lcom/waiqin365/lightapp/im/activity/ChatHistorySearchActicity;->b:Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    const v0, 0x7f0c00cb

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/im/activity/ChatHistorySearchActicity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/view/NoNetView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/im/activity/ChatHistorySearchActicity;->c:Lcom/waiqin365/lightapp/view/NoNetView;

    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    iput-object v0, p0, Lcom/waiqin365/lightapp/im/activity/ChatHistorySearchActicity;->d:Ljava/util/List;

    new-instance v0, Lcom/waiqin365/lightapp/im/adapter/c;

    iget-object v1, p0, Lcom/waiqin365/lightapp/im/activity/ChatHistorySearchActicity;->mContext:Landroid/content/Context;

    const/4 v2, 0x1

    iget-object v3, p0, Lcom/waiqin365/lightapp/im/activity/ChatHistorySearchActicity;->d:Ljava/util/List;

    invoke-direct {v0, v1, v2, v3}, Lcom/waiqin365/lightapp/im/adapter/c;-><init>(Landroid/content/Context;ILjava/util/List;)V

    iput-object v0, p0, Lcom/waiqin365/lightapp/im/activity/ChatHistorySearchActicity;->e:Lcom/waiqin365/lightapp/im/adapter/c;

    iget-object v0, p0, Lcom/waiqin365/lightapp/im/activity/ChatHistorySearchActicity;->b:Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    iget-object v1, p0, Lcom/waiqin365/lightapp/im/activity/ChatHistorySearchActicity;->e:Lcom/waiqin365/lightapp/im/adapter/c;

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;->setAdapter(Landroid/widget/BaseAdapter;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/im/activity/ChatHistorySearchActicity;->b:Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;->f()V

    iget-object v0, p0, Lcom/waiqin365/lightapp/im/activity/ChatHistorySearchActicity;->a:Lcom/waiqin365/lightapp/view/SearchView;

    new-instance v1, Lcom/waiqin365/lightapp/im/activity/af;

    invoke-direct {v1, p0}, Lcom/waiqin365/lightapp/im/activity/af;-><init>(Lcom/waiqin365/lightapp/im/activity/ChatHistorySearchActicity;)V

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/view/SearchView;->setOnSearchKeyChangedListener(Lcom/waiqin365/lightapp/view/hl;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/im/activity/ChatHistorySearchActicity;->a:Lcom/waiqin365/lightapp/view/SearchView;

    new-instance v1, Lcom/waiqin365/lightapp/im/activity/ag;

    invoke-direct {v1, p0}, Lcom/waiqin365/lightapp/im/activity/ag;-><init>(Lcom/waiqin365/lightapp/im/activity/ChatHistorySearchActicity;)V

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/view/SearchView;->setSearchListener(Lcom/waiqin365/lightapp/view/hm;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/im/activity/ChatHistorySearchActicity;->b:Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    new-instance v1, Lcom/waiqin365/lightapp/im/activity/ah;

    invoke-direct {v1, p0}, Lcom/waiqin365/lightapp/im/activity/ah;-><init>(Lcom/waiqin365/lightapp/im/activity/ChatHistorySearchActicity;)V

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;->setOnItemClickListener(Landroid/widget/AdapterView$OnItemClickListener;)V

    return-void
.end method

.method public b()V
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/im/activity/ChatHistorySearchActicity;->e:Lcom/waiqin365/lightapp/im/adapter/c;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/im/adapter/c;->notifyDataSetChanged()V

    return-void
.end method

.method protected onCreate(Landroid/os/Bundle;)V
    .locals 1

    invoke-super {p0, p1}, Lcom/waiqin365/lightapp/base/WqBaseActivity;->onCreate(Landroid/os/Bundle;)V

    const v0, 0x7f030149

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/im/activity/ChatHistorySearchActicity;->setContentView(I)V

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/im/activity/ChatHistorySearchActicity;->a()V

    return-void
.end method
